package com.t174.car.dao;

import org.apache.ibatis.annotations.Param;

public interface UserRoleDao {
    /**
     * 修改角色
     * @param uid
     * @param rid
     * @return
     */
    public int updateRoleByUid(@Param("uid") int uid, @Param("rid") int rid);
    /**
     * 给用户添加角色
     * @param uid
     * @param rid
     * @return
     */
    public int addRole(@Param("uid") int uid, @Param("rid") int rid);

    /**
     * 删除
     * @param ids
     * @return
     */
    public int delUserRole(Integer[] ids);
}
